package cn.geminis.devops.jenkins;

def analyze(doAnalyze) {
    def build = chooseBuild();
    def params = ' -Dsonar.language=java -Dsonar.java.binaries=' + build.getBuildPath();

    new Sonar().analyze(params);
}